/**
 * @author     Gabor Greif <ggreif@gmail.com>
 * @copyright  2009-2010 Gabor Greif
 * @license    http://www.opensource.org/licenses/mit-license.php  MIT License
 * @version    Release: 0.0
 */

#ifndef micker_CVALUE_hpp
#define micker_CVALUE_hpp

#include "Command.hpp"

// #include <iostream> // FIXME: not really needed

namespace micker {

struct Value : Comm<std::string>
{
    Value(Env::from val)
    : Comm<std::string>(ArgumentsMismatch<0>::proc<Env, proc>, val)
    {}

    static std::string proc(Pref env)
    {
        // std::cout << "value of " << name << " is " << env << "\n";
        return env;
    }
};

} // namespace micker

#endif // micker_CVALUE_hpp
